import type { AppRouteType } from "../type";

const home: AppRouteType = {
  path: "/home",
  name: "Home",
  meta: {
    title: "首页",
    icon: "Document",
    ignoreKeepAlive: true,
    order: 1,
    needAuth: true,
  },
  children: [
    {
      path: "itemOne",
      name: "itemOne",
      component: () => import("@/views/home/itemOne/index.vue"),
      meta: {
        title: "数据对比",
        needAuth: true,
      },
    },
    {
      path: "itemTwo",
      name: "ItemTwo",
      component: () => import("@/views/home/itemTwo/index.vue"),
      meta: {
        title: "百度地图",
        needAuth: true,
      },
    },
    {
      path: "animinate",
      name: "Animinate",
      component: () => import("@/views/home/animinate/index.vue"),
      meta: {
        title: "transition组件",
        needAuth: true,
      },
    },
  ],
};
export default home;
